<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\SignupForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\Captcha\Captcha;

$this->title = '注册';
$this->params['breadcrumbs'][] = $this->title;
?>
 <head> 
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 
  <title>注册</title> 
  
  <!--通用样式Css和脚本--> 
 
  <!--引用静态文件:requirejs-->  
  <!--引用静态文件:skin_default--> 
 
  <!--引用静态文件:new_dialog_js--> 
  <!--产品头部CSS和脚本--> 

 </head> 
 <body> 
   <div class="dl_content dl_gray_bg"> 
    <!----> 
    <!--申请职位 s--> 
    <!--申请职位 e--> 
    <!--我的简历 s--> 
    <!--简历内容 s--> 
    <div class="dl_content"> 
     <div class="map"> 
      <div class="dl_lit-wrap dl_padr30 width653 clearfix"> 
       
       <?php $form = ActiveForm::begin(['options' => ['enctype' => 'multipart/form-data']]); ?>
       
        <input type="hidden" id="returnurl" name="returnurl" value="" /> 
        <div class="dl_loginleft dl_padr0"> 
         <h3 class="dl_tit_green">注册</h3> 
         <ul class="dl_error_wrap15"> 
      
          <li class="clearfix"><?= $form->field($model, 'username')->textInput(['autofocus' => true])->label("用户名") ?></li>

            <li class="clearfix"><?= $form->field($model, 'email') ?></li>

            <li class="clearfix"><?= $form->field($model, 'password')->passwordInput()->label("密码") ?></li>

            <li class="clearfix"> <?= $form->field($model, 'qr')->passwordInput()->label("确认密码") ?></li>
                
            <li class="clearfix"><?= $form->field($model, 'file')->fileInput()->label("上传头像") ?></li>

<li class="clearfix"><?= $form->field($model, 'verifyCode')->textInput(['class'=>'dl_textinp'])->label('验证码') ?>
<?=Captcha::widget(['name'=>'captchaimg','captchaAction'=>'site/captcha','imageOptions'=>['id'=>'captchaimg', 'style'=>'cursor:pointer;margin-left:25px;'],'template'=>'{image}']);?></li>

                <div class="form-group">
                    <?= Html::submitButton('注册', ['class' => 'btn btn-primary', 'name' => 'signup-button']) ?>
                </div>
              </ul>
        </div> 
      
     
       <?php ActiveForm::end(); ?>
        
       <div class="dl_loginright width170"> 
        <div class="dl_register">
         <span class="noaccount">已有账号？</span>
         <a href="?r=user/login">点击登录</a>
        </div> 
        <h3 class="dl_otherchoice">使用其他账号登录：</h3> 
        <div class="dl_logos"> 
         <a class="dl_sinalogo dl_grey1 sina" href="javascript:void(0)" url="/User/OAuth/OAuthIndex?snstype=sina_connect_v2&amp;returnurl=http%3a%2f%2f51talk.zhiye.com%2fPortal%2fAccount%2fRegister&amp;host=51talk.zhiye.com&amp;portalid=104003">微博</a> 
         <a class="dl_qqlogo dl_grey1 qq" href="javascript:void(0)" url="/User/OAuth/OAuthIndex?snstype=qzone_login&amp;returnurl=http%3a%2f%2f51talk.zhiye.com%2fPortal%2fAccount%2fRegister&amp;host=51talk.zhiye.com&amp;portalid=104003">QQ</a> 
        </div> 
       </div> 
      </div> 
     </div> 
    </div> 
    
 </body>
</html>